package com.llcbenwu.social.qq.connect;

import com.llcbenwu.social.qq.api.QQ;
import org.springframework.social.connect.support.OAuth2ConnectionFactory;


/**
 * @author lilinchun
 * @date 2021/11/2 0002 09:46
 */
public class QQConnectionFactory  extends OAuth2ConnectionFactory<QQ> {


    /**
     *
     * @param providerId 提供商的唯一标识
     * @param appId
     * @param appSecret
     */
    public QQConnectionFactory(String providerId, String appId, String appSecret) {
        super(providerId, new QQServiceProvider(appId,appSecret), new QQAdapter());
    }


}
